home *** CD-ROM | disk | FTP | other *** search
/ Delphi Programmer's Power Pack / Delphi Volume 1.iso / s_to_z / wmapdemo / data.z / MAPABOUT.PAS < prev    next >
Pascal/Delphi Source File  |  1996-03-17  |  668b  |  38 lines

  1. unit Mapabout;
  2.  
  3. interface
  4.  
  5. uses WinTypes, WinProcs, Classes, Graphics, Forms, Controls, StdCtrls,
  6.   Buttons, ExtCtrls;
  7.  
  8. type
  9.   TAboutBox = class(TForm)
  10.     Panel1: TPanel;
  11.     OKButton: TBitBtn;
  12.     ProgramIcon: TImage;
  13.     ProductName: TLabel;
  14.     Version: TLabel;
  15.     Copyright: TLabel;
  16.     Comments: TLabel;
  17.     procedure FormClose(Sender: TObject; var Action: TCloseAction);
  18.   private
  19.     { Private declarations }
  20.   public
  21.     { Public declarations }
  22.   end;
  23.  
  24. var
  25.   AboutBox: TAboutBox;
  26.  
  27. implementation
  28.  
  29. {$R *.DFM}
  30.  
  31. procedure TAboutBox.FormClose(Sender: TObject; var Action: TCloseAction);
  32. begin
  33.  action := caFree;
  34. end;
  35.  
  36. end.
  37.  
  38.